<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex flex-wrap align-center justify-between benben-position-layout flex directOrder_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub directOrder_fd0_0'>
					<view class='flex flex-wrap align-center directOrder_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  directOrder_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<text class='directOrder_fd0_0_c1'>{{$t('确认订单')}}</text>
					<view class='flex flex-wrap align-center directOrder_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---无地址flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout directOrder_flex_1">
				<view class='flex flex-wrap align-center justify-center flex-sub directOrder_fd1_0' @tap="handleJumpDiy"
					data-type="navigateTo" :data-url="`/pages/wd/editAddress/editAddress`"
					v-if="order_address==''">
					<image class='directOrder_fd1_0_c0' mode="aspectFit" :src='STATIC_URL+"518.png"'></image>
					<text class='directOrder_fd1_0_c1'>{{$t('添加收货地址')}}</text>
				</view>
			</view>
			<!---购物车结算flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout directOrder_flex_3"
				v-if="order_address!=''" @tap.stop="handleJumpDiy" data-type="navigateTo"
				:data-url="`/pages/wd/editAddress/editAddress?addressid=${this.order_address.aid}`">
				<view class='flex flex-direction flex-wrap align-stretch flex-sub directOrder_fd3_0'>
					<view class='flex flex-wrap align-center directOrder_fd3_0_c0'>
						<image class='directOrder_fd3_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"518.png"'></image>
						<view class='flex flex-direction flex-wrap align-stretch flex-sub directOrder_fd3_0_c0_c1'>
							<view class='flex align-center directOrder_fd3_0_c0_c1_c0'>
								<text
									class='directOrder_fd3_0_c0_c1_c0_c1'>{{order_address.real_name}}</text>
								<text class='directOrder_fd3_0_c0_c1_c0_c2'>(</text>
								<text class='directOrder_fd3_0_c0_c1_c0_c2'
									v-if="order_address.sex=='1'">{{$t('先生')}}</text>
									<text class='directOrder_fd3_0_c0_c1_c0_c2'
									v-if="order_address.sex!='1'">{{$t('女士')}}</text>
								<text class='directOrder_fd3_0_c0_c1_c0_c2'>)</text>
								<text
									class='flex-sub directOrder_fd3_0_c0_c1_c0_c5'>{{order_address.mobile}}</text>
							</view>
							<view class='flex align-center'>
								<view class='flex flex-wrap align-center flex-sub'>
									<view class='directOrder_fd3_0_c0_c1_c1_c0_c0'>
										<text
											class='flex-sub directOrder_fd3_0_c0_c1_c1_c0_c0_c0'>{{order_address.province}}</text>
										<text
											class='flex-sub directOrder_fd3_0_c0_c1_c1_c0_c0_c0'>{{order_address.city}}</text>
										<text
											class='flex-sub directOrder_fd3_0_c0_c1_c1_c0_c0_c0'>{{order_address.district}}</text>
										<text
											class='flex-sub directOrder_fd3_0_c0_c1_c1_c0_c0_c0'>{{order_address.detail}}</text>
									</view>
								</view>
							</view>
						</view>
						<image class='self-center directOrder_fd3_0_c0_c2' mode="aspectFit" :src='STATIC_URL+"121.png"'>
						</image>
					</view>
					<view class='flex flex-wrap align-center flex-sub'>
						<view class='flex flex-wrap align-center flex-sub directOrder_fd3_0_c1_c0'>
						</view>
					</view>
				</view>
			</view>
			
			<view class='flex flex-direction flex-wrap align-stretch redemptDetails_fd1_2'>
				<view class='flex flex-wrap align-center redemptDetails_fd1_2_c0'>
					<image class='redemptDetails_fd1_2_c0_c0' mode="aspectFit" :src='STATIC_URL+"519.png"'></image>
					<text class='redemptDetails_fd1_2_c0_c1'>患者信息</text>
				</view>
				<view class='flex flex-direction align-stretch'>
					<view class='flex flex-wrap align-center justify-between redemptDetails_fd1_2_c1_c0'>
						<view class='flex flex-wrap align-center'>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c0'>姓名</text>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c1'>{{dataDetails.username}}</text>
						</view>
						<view class='flex flex-wrap align-center'>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c0'>手机号</text>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c1'>{{dataDetails.phone}}</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-between'>
						<view class='flex flex-wrap align-center'>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c0'>性别</text>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c1' v-if="dataDetails.sex==1">男</text>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c1' v-else>女</text>
						</view>
						<view class='flex flex-wrap align-center' style="width: 42%;">
							<text class='redemptDetails_fd1_2_c1_c0_c0_c0'>年龄</text>
							<text class='redemptDetails_fd1_2_c1_c0_c0_c1'>{{dataDetails.age}}</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-between redemptDetails_fd1_2_c1_c0' style="margin-top: 0rpx;">
						<view class='flex flex-wrap align-center redemptDetails_fd1_2_c1_c2_c0'>
							<text class='redemptDetails_fd1_2_c1_c2_c0_c0'>主诉</text>
						</view>
						<view class='flex flex-wrap align-center redemptDetails_fd1_2_c1_c2_c1'>
							<text class='redemptDetails_fd1_2_c1_c2_c1_c0'>{{dataDetails.main_suit}}</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-between redemptDetails_fd1_2_c1_c3'>
						<view class='flex flex-wrap align-center redemptDetails_fd1_2_c1_c3_c0'>
							<text class='redemptDetails_fd1_2_c1_c3_c0_c0'>诊断</text>
						</view>
						<view class='flex flex-wrap align-center redemptDetails_fd1_2_c1_c2_c1'>
							<text class='redemptDetails_fd1_2_c1_c2_c1_c0'>{{dataDetails.diagnose}}</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-between redemptDetails_fd1_2_c1_c4'>
						<view class='flex flex-wrap align-center redemptDetails_fd1_2_c1_c3_c0'>
							<text class='redemptDetails_fd1_2_c1_c3_c0_c0'>订单费用</text>
						</view>
						<view class='flex flex-wrap align-center redemptDetails_fd1_2_c1_c2_c1'>
							<text class='redemptDetails_fd1_2_c1_c2_c1_c0'>¥</text>
							<text class='redemptDetails_fd1_2_c1_c4_c1_c1'>{{dataDetails.payable_money}}</text>
						</view>
					</view>
				</view>
				<view class='flex flex-wrap align-center justify-end redemptDetails_fd1_2_c2'>
					<text class='redemptDetails_fd1_2_c2_c0'>应付：</text>
					<text class='redemptDetails_fd1_2_c2_c1'>¥</text>
					<text class='redemptDetails_fd1_2_c2_c2'>{{dataDetails.payable_money}}</text>
				</view>
			</view>
			
			
			
			
			<view class="flex benben-position-layout flex flex-wrap align-center directOrder_flex_5">
				<text class='directOrder_fd5_0'>{{$t('总计：')}}</text>
				<text class='directOrder_fd5_1'>{{$t('¥')}}</text>
				<text class=' directOrder_fd5_2'>
					<text>{{ dataDetails.payable_money | frontPrice }}</text>
					<text class=' directOrder_price2_fd5_2'>{{ dataDetails.payable_money | laterPrice }}</text>
				</text>
				<button class='directOrder_fd5_3' @tap.stop="submitorderFunc()">确认订单</button>

			</view>
			<view :style="{height: '112rpx'}"></view>


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"dataDetails":"",//订单详情
				"dataEssayMessage":"",//订单详情
				order_address:"",//地址
				aid:"",//订单ID
				user_token:"",//用户token
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			isLogin() {
				return this.$store.state.token == '' ? false : true;
			}
		},
		watch: {},
		onLoad(options) {
			let {
				aid,
				user_token
			} = options
			if (aid !== undefined) this.aid = aid;
			if (user_token !== undefined) this.user_token = user_token;
			this.$store.commit('saveToken', this.user_token);
			this.queryEssayMessageFunc()//获取订单呢信息
		},
		onUnload() {
			this.diyOffPageListen()
		},
		onReady() {

		},
		onShow() {
			this.address();//获取地址列表
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//返回上一页
			backYeFunc() {
				this.$urouter.navigateBack(1);
			},
			
			//获取地址列表
			address(){
				this.$api.post(global.apiUrls.post636f7683cf195, {
				}).then(res=>{
					if(res.data.code==1){
						this.order_address =  res.data.data.data[0];
					}
				});
			},
			
			//修改收货地址
			goAddListFunc() {
				this.$urouter.navigateTo(`/pages/wd/address/address?is_change=1`);
			},
			
			queryEssayMessageFunc() {
				//请求方法
				//数据验证
				this.$api.post(global.apiUrls.post660bd68fbcba1, {
					aid:this.aid,
				}).then(res=>{
					if(res.data.code==1){
						this.dataDetails = res.data.data;
					}
				});
			},
			
			//提交订单
			submitorderFunc() {
				if (!validate(this.order_address, 'require')) {
					uni.showToast({
						title: global.i18n.t('请选择地址'),
						mask: true,
						icon: 'none',
						duration: 1500
					});
					return false;
				}
				console.log(this.aid)
				this.$api.dbPost(global.apiUrls.post660bd0795de14, {
					order_sn:this.dataDetails.order_sn,
					receiver_mobile:this.order_address.mobile,
					receiver_address:this.order_address.detail,
					receiver_name:this.order_address.real_name,
					province:this.order_address.province,
					city:this.order_address.city,
					district:this.order_address.district,
					sex:this.order_address.sex,
				}).then(res => {
					res = res.data;
					if (res.code == 1) {
						this.$urouter.redirectTo(`/pages/sy/offerPay/offerPay?order_sn=${res.data.order_sn}&aid=${this.aid}`);
					} else {
						this.$message.info(res.msg)
					}
				})
			},
			//页面监听
			diyPageListen() {
				uni.$on('isokaddid', (data) => {
					this.address_id = data;
					this.panduanFunc()
					return
				});
			},
			//注销页面监听
			diyOffPageListen() {
				uni.$off('isokaddid');
				uni.$off('upinvoice');
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.directOrder_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.directOrder_fd0_0_c1 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 50rpx;
	}

	.directOrder_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.directOrder_fd0_0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.directOrder_fd0_0 {
		height: 88rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.directOrder_flex_1 {
		margin: 20rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd1_0_c1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.directOrder_fd1_0_c0 {
		width: 60rpx;
		height: 60rpx;
	}

	.directOrder_fd1_0 {
		background: var(--benbenbgColor1);
		background-size: 100% auto !important;
		padding: 32rpx 0rpx 32rpx 0rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: 0rpx 24rpx 24rpx 24rpx;
	}

	.directOrder_fd2_0_c1_c1_c0 {
		width: 400rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd2_0_c1_c1 {
		width: 686rpx;
		padding: 50rpx 0rpx 50rpx 0rpx;
	}

	.directOrder_fd2_0_c1_c0_c0_c2_c0 {
		color: #FFFFFF;
		font-size: 24rpx;
		font-weight: 500;
		line-height: 33rpx;
		width: 36rpx;
	}

	.directOrder_fd2_0_c1_c0_c0_c2 {
		margin: 0rpx 5rpx 0rpx 14rpx;
	}

	.directOrder_fd2_0_c1_c0_c0_c1_c2 {
		color: #666666;
		font-size: 22rpx;
		line-height: 30rpx;
		font-weight: 400;
	}

	.directOrder_fd2_0_c1_c0_c0_c1_c1 {
		margin: 8rpx 0rpx auto 0rpx;
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.directOrder_fd2_0_c1_c0_c0_c1_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 600;
		line-height: 45rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.directOrder_fd2_0_c1_c0_c0_c1 {
		margin: 24rpx 14rpx 24rpx 32rpx;
	}

	.directOrder_fd2_0_c1_c0_c0_c0_c1 {
		color: #FFFFFF;
		font-size: 24rpx;
		line-height: 33rpx;
		font-weight: 700;
	}

	.directOrder_fd2_0_c1_c0_c0_c0_c0_c1 {
		font-size: 64rpx;
		font-weight: 700;
		color: var(--benbenFontColor3);
	}

	.directOrder_fd2_0_c1_c0_c0_c0_c0_c0 {
		font-size: 28rpx;
		font-weight: 700;
		color: var(--benbenFontColor3);
		margin: 15rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd2_0_c1_c0_c0_c0 {
		width: 192rpx;
		height: 188rpx;
	}

	.directOrder_fd2_0_c1_c0_c0 {
		background: url(image-path('41.png')) no-repeat;
		background-size: 100% auto !important;
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd2_0_c1_c0 {
		width: 686rpx;
	}

	.directOrder_fd2_0_c1 {
		touch-action: none;
		height: 50vh;
		width: 686rpx;
	}

	.directOrder_fd2_0_c0_c2 {
		width: 40rpx;
		height: 40rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd2_0_c0_c1_c1 {
		color: #333333;
		font-size: 40rpx;
		font-weight: 500;
		line-height: 56rpx;
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.directOrder_fd2_0_c0_c1_c0 {
		width: 32rpx;
		height: 10rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd2_0_c0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.directOrder_fd2_0_c0 {
		margin: 0rpx 0rpx 8rpx 0rpx;
	}

	.directOrder_fd2_0 {
		background: #FFFFFF;
		border-radius: 20rpx 20rpx 0rpx 0rpx;
		padding: 40rpx 32rpx 40rpx 32rpx;
		width: 750rpx;
	}

	.directOrder_flex_3 {
		margin: 0rpx 0rpx 24rpx 0rpx;
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.directOrder_fd3_0_c1_c0 {
		background: url(image-path('122.png')) no-repeat, transparent;
		height: 6rpx;
		background-size: 100% auto !important;
	}

	.directOrder_fd3_0_c0_c2 {
		width: 12rpx;
		height: 22rpx;
		margin: 8rpx 0rpx 0rpx 32rpx;
	}

	.directOrder_fd3_0_c0_c1_c1_c0_c0_c0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
	}

	.directOrder_fd3_0_c0_c1_c1_c0_c0 {
		-webkit-line-clamp: 3;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.directOrder_fd3_0_c0_c1_c0_c5 {
		line-height: 40rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx 0rpx 0rpx 32rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.directOrder_fd3_0_c0_c1_c0_c2 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
	}

	.directOrder_fd3_0_c0_c1_c0_c1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		margin: 0rpx 0rpx 0rpx 16rpx;
		max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.directOrder_fd3_0_c0_c1_c0_c0 {
		border: 1px solid var(--benbenbdColor8);
		background: var(--benbenbgColor5);
		padding: 0rpx 10rpx 0rpx 10rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: var(--benbenFontColor4);
		background-size: 100% auto !important;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
	}

	.directOrder_fd3_0_c0_c1_c0 {
		margin: 0rpx 0rpx 16rpx 0rpx;
	}

	.directOrder_fd3_0_c0_c1 {
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.directOrder_fd3_0_c0_c0 {
		width: 60rpx;
		height: 60rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd3_0_c0 {
		margin: 0rpx 32rpx 32rpx 24rpx;
	}

	.directOrder_fd3_0 {
		background: var(--benbenbgColor1);
		background-size: 100% auto !important;
		padding: 32rpx 0rpx 0rpx 0rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.directOrder_flex_4 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
	}

	.directOrder_fd4_1_c0 {
		line-height: 42rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
	}

	.directOrder_fd4_1 {
		touch-action: none;
		width: 686rpx;
		height: 500rpx;
		margin: 0rpx auto 40rpx auto;
	}

	.directOrder_fd4_0_c3 {
		width: 32rpx;
		height: 10rpx;
		margin: 0rpx auto 0rpx 0rpx;
	}

	.directOrder_fd4_0_c2 {
		line-height: 50rpx;
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		margin: 0rpx 16rpx 0rpx 16rpx;
	}

	.directOrder_fd4_0_c1 {
		width: 32rpx;
		height: 10rpx;
		margin: 0rpx 0rpx 0rpx auto;
	}

	.directOrder_fd4_0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.directOrder_fd4_0 {
		margin: 40rpx 32rpx 32rpx 32rpx;
	}

	.directOrder_flex_5 {
		background: #fff;
		width: 750rpx;
		height: 112rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		background-size: 100% auto !important;
	}

	.directOrder_fd5_3 {
		background: url(image-path('514.png')) no-repeat;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		font-size: 32rpx;
		color: #fff;
		margin: 0rpx 32rpx 0rpx auto;
		width: 280rpx;
		height: 88rpx;
		line-height: 88rpx;
		background-size: 100%;
	}

	.directOrder_price2_fd5_2 {
		font-size: 22rpx;
	}

	.directOrder_fd5_2 {
		color: rgba(162, 60, 48, 1);
		font-weight: 700;
		line-height: 32rpx;
		font-size: 32rpx;
	}

	.directOrder_fd5_1 {
		line-height: 30rpx;
		font-size: 20rpx;
		font-weight: 700;
		color: rgba(162, 60, 48, 1);
		margin: 4rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd5_0 {
		color: #1A1A1A;
		font-size: 32rpx;
		font-weight: 400;
		line-height: 40rpx;
		margin: 0rpx 4rpx 0rpx 32rpx;
	}

	.directOrder_flex_6 {
		background: var(--benbenbgColor1);
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		width: 540rpx;
		padding: 80rpx 24rpx 80rpx 24rpx;
	}

	.directOrder_fd6_1_c1 {
		background: var(--benbenbgColor7);
		font-size: 24rpx;
		color: var(--benbenFontColor3);
		height: 64rpx;
		padding: 0rpx 20rpx 0rpx 20rpx;
		border-radius: 100rpx;
		line-height: 64rpx;
		margin: 0rpx 0rpx 0rpx 20rpx;
	}

	.directOrder_fd6_1_c0 {
		border: 1px solid var(--benbenbdColor0);
		background: #EEF5F1;
		font-size: 24rpx;
		color: var(--benbenFontColor5);
		height: 64rpx;
		padding: 0rpx 20rpx 0rpx 20rpx;
		border-radius: 100rpx;
		line-height: 64rpx;
		margin: 0rpx 20rpx 0rpx 0rpx;
	}

	.directOrder_fd6_1 {
		margin: 40rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd6_0_c0_c0 {
		width: 120rpx;
		height: 120rpx;
		border-radius: 16rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.directOrder_fd6_0_c0 {
		margin: 0rpx 32rpx 24rpx 32rpx;
	}

	.directOrder_fd6_0 {
		touch-action: none;
		width: 492rpx;
		max-height: 400rpx;
	}

	.directOrder_flex_7 {
		background: #FFFFFF;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		padding: 41rpx 24rpx 40rpx 24rpx;
	}

	.directOrder_fd7_3 {
		background: var(--benbenbgColor5);
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 32rpx;
		color: rgba(102, 102, 102, 1);
		width: 686rpx;
		height: 80rpx;
		line-height: 80rpx;
		margin: 0rpx 8rpx 0rpx 8rpx;
	}

	.directOrder_fd7_2 {
		background: var(--benbenbgColor7);
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		width: 686rpx;
		height: 80rpx;
		line-height: 80rpx;
		margin: 56rpx 8rpx 24rpx 8rpx;
	}

	.directOrder_fd7_1_c0_c1_c1_c1_c1 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
		margin: 0rpx 0rpx 0rpx 12rpx;
	}

	.directOrder_fd7_1_c0_c1_c1_c1_c0 {
		width: 30rpx;
		height: 30rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd7_1_c0_c1_c1_c0_c1 {
		margin: 8rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd7_1_c0_c1_c1_c0_c0_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
		margin: 0rpx 0rpx 0rpx 10rpx;
	}

	.directOrder_fd7_1_c0_c1_c1_c0_c0_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.directOrder_fd7_1_c0_c1_c1 {
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd7_1_c0_c1_c0_c2 {
		background: var(--benbenbgColor8);
		margin: 0rpx 0rpx 0rpx auto;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		padding: 0rpx 8rpx 0rpx 8rpx;
	}

	.directOrder_fd7_1_c0_c1_c0_c1_c0 {
		color: var(--benbenFontColor5);
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.directOrder_fd7_1_c0_c1_c0_c1 {
		background: var(--benbenbgColor8);
		margin: 0rpx 0rpx 0rpx 16rpx;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		padding: 0rpx 8rpx 0rpx 8rpx;
	}

	.directOrder_fd7_1_c0_c1_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 40rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		max-width: 400rpx;
	}

	.directOrder_fd7_1_c0_c1 {
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.directOrder_fd7_1_c0_c0 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd7_1_c0 {
		background: #F8F8F8;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 32rpx 32rpx 32rpx 32rpx;
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd7_0_c3 {
		width: 40rpx;
		height: 40rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		position: absolute;
		top: -16rpx;
		right: 0rpx;
	}

	.directOrder_fd7_0_c1 {
		color: #333333;
		font-size: 36rpx;
		font-weight: 500;
		line-height: 50rpx;
		margin: 0rpx 24rpx 0rpx 24rpx;
	}

	.directOrder_fd7_0_c0 {
		width: 32rpx;
		height: 10rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.directOrder_fd7_0 {
		position: relative;
	}
	
	.redemptDetails_fd1_2_c2_c2 {
		color: #A23C30;
		font-size: 32rpx;
		font-weight: 700;
	}
	
	.redemptDetails_fd1_2_c2_c1 {
		color: #A23C30;
		font-size: 22rpx;
		font-weight: 700;
	}
	
	.redemptDetails_fd1_2_c2_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 500;
	}
	
	.redemptDetails_fd1_2_c2 {
		border-top: 1px solid #eee;
		margin: 32rpx 0rpx 0rpx 0rpx;
		padding-top: 24rpx;
	}
	
	.redemptDetails_fd1_2_c1_c4_c1_c1 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 40rpx;
	}
	
	.redemptDetails_fd1_2_c1_c4 {
		margin: 32rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c3_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		padding: 0rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c3_c0 {
		width: 100%;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c3 {
		margin: 0rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c2_c1_c0 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
	}
	
	.redemptDetails_fd1_2_c1_c2_c1 {
		width: 100%;
		margin: 24rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c2_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		padding: 32rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c2_c0 {
		border-top: 1px solid rgba(238, 238, 238, 1);
		width: 100%;
		margin: 32rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c0_c0_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
	}
	
	.redemptDetails_fd1_2_c1_c0_c0_c0 {
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
		padding: 0rpx 24rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c1_c0 {
		margin: 32rpx 0rpx 32rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c0_c1 {
		font-size: 32rpx;
		font-weight: 600;
		color: #333333;
	}
	
	.redemptDetails_fd1_2_c0_c0 {
		width: 7rpx;
		height: 30rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2_c0 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 0rpx 24rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}
	
	.redemptDetails_fd1_2 {
		width: 686rpx;
		background: #fff;
		border-radius:24rpx;
		padding: 32rpx 24rpx 32rpx 24rpx;
		margin: 12rpx auto;
	}
</style>